package cn.qs.qatool

class Company {
    String name
    String address
    String phone
    String email
    String skype
    String weixin
    String qq
    BigDecimal registerCapital

    //auto filled fields
    Date dateCreated
    Date lastUpdated
    User creator
    User lastUpdater

    static constraints = {
        address nullable: true
        phone nullable: true
        email nullable: true
        skype nullable: true
        weixin nullable: true
        qq nullable: true
        registerCapital nullable: true
    }
}
